#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <fenv.h>
#include <float.h>
#include <inttypes.h>
#include <iso646.h>
#include <limits.h>
#include <locale.h>
#include <math.h>
#include <setjmp.h>
#include <signal.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tgmath.h>
#include <time.h>
#include <uchar.h>
#include <wchar.h>
#include <wctype.h>

// LIB FROM ${COMMUNIS_PATH}/Deploy_store/.qa/main_repo_fn/dir_c_/_c_/_lib
#include "lib/lc_0.h"
#include "lib/lc_1.h"
#include "lib/io_1.h"
#include "lib/lib_1.h"
#include "lib/uni_1.h"

#define N 6

#include <unistd.h>

// #include <unistd.h>

// char *crypt(const char *key, const char *salt)

int main(int argc, char const *argv[])
{
    char *key = "werqgegergerggerwrgerergwergw";
    char *salt = "gpgerweryherthyhntetyhgewerfgewer";

    // char *res = crypt(key, salt);

    // printf("key = %s, salt = %s, res = %s\n", key, salt, res);
    printf("key = %s, salt = %s, crypt(key, salt) = %s\n", key, salt, crypt(key, salt));

    char *key_2 = crypt(key, key);
    printf("key = %s, salt = %s, crypt(key, key) = %s\n", key, key, key_2);
    printf("crypt(crypt(key, key), crypt(key, key)) = %s", crypt(key_2, key));

    return 0;
}
